package com.cloudpark.common.util;

import java.util.List;

import org.apache.commons.lang3.StringUtils;

public class ObjectUtil {

	public static boolean isBlank(String s) {
		if (StringUtils.isBlank(s)) {
			return true;
		}
		return false;
	}
	
	public static boolean isNotBlank(String s) {
		if (StringUtils.isNotBlank(s)) {
			return true;
		}
		return false;
	}

	public static boolean isBlank(List list) {
		if (null != list && list.size()>=1) {
			return false;
		}
		return true;
	}
	
	public static boolean isNotBlank(List list) {
		if (null != list && list.size()>=1) {
			return true;
		}
		return false;
	}

	public static boolean isBigThanZero(Long num) {
		if (null != num && num>0) {
			return true;
		}
		return false;
	}
}
